package com.ai.enviro.common;

public class BaseController {

  
    public BaseResponse fail(String code, String msg) {
        return new BaseResponse(code,msg);
    }

    public <T> BaseResponse<T> successResponse(T data) {
        return BaseResponse.success(data);
    }

}
